//
//  YLSubTitileNoArrowTableViewCell.m
//  YLFinanceService
//
//  Created by she1323 on 2017/9/14.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import "YLSubTitileNoArrowTableViewCell.h"
#import "YLTitleContentModel.h"
@interface YLSubTitileNoArrowTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet UIView *line;

@end


@implementation YLSubTitileNoArrowTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(YLTitleContentModel *)model
{
    _model = model;
    _titleLabel.text = model.title;
    _titleLabel.font = _contentLabel.font = model.titleFont;
    _titleLabel.textColor = model.titleColor;
    _contentLabel.text = model.content;
    _contentLabel.textColor = model.contentColor;
    _line.hidden = model.hiddenLine;
}

+ (NSString *)cellID
{
    return @"YLSubTitileNoArrowTableViewCell";
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
